<div id="post-list">
    <ul>
        {foreach $rows as $row}
        <li class="clearfix line">
            <div class="post-about xl12 xs8">
                <h1><a href="{:url('post/index',['id'=>$row.id])}">{$row.title}</a></h1>
                <div class="post-meta"><a href="{:url('post/index',['category_id'=>$row.category_id])}">{$row.category.name}</a> | 发布于:{$row.created} | <a href="{:url('post/index#comment',['id'=>$row.id])}">{$row.comments_count}条评论</a></div>
                <p class="mt20 mb10">{$row.decs}</p>
            </div>
            <div class="post-img xl12 xs4">
                <a href="{:url('post/index',['id'=>$row.id])}"><img src="{$row.icon}" alt=""></a>
            </div>
        </li>
        {/foreach}
    </ul>
    <!-- 分页 -->
    <div class="page">
    </div>
</div>
